Running Sum of 1d Array

05.04.2023

Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]).Return the running sum of nums.

Blog_Description